1
'\**************************** Module Header ********************************\
2 ' Module Name: Login.aspx.vb
3 ' Project: VBASPNETAutoLogin
4 ' Copyright (c) Microsoft Corporation.
6 ' This page is used to display the user's login information.
8 ' This source is subject to the Microsoft Public License.
9 ' See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
10 ' All other rights reserved.
12 ' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
13 ' EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
14 ' WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
15 '\***************************************************************************/
17 Partial
Public Class Login
18 Inherits System
.Web
.UI
.Page
20 Protected
Sub Page_Load(ByVal sender
As Object, ByVal e
As System
.EventArgs
) Handles
Me.Load
25 Protected
Sub LoginButton_Click(ByVal sender
As Object, ByVal e
As EventArgs
) Handles LoginButton
.Click
27 Response
.Write("You have login the website." + "<br>")
28 Response
.Write("Your userName:" + Request
.Form("UserName").ToString() + "<br>")
29 Response
.Write("Your passWord:" + Request
.Form("Password").ToString() + "<br>")